package com.liam.lotterysystem.controller.param;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @Author: LiamLMK
 * @CreateTime: 2024-10-20
 * @Description:
 * @Version: 1.0
 */

@Data
public class CreatePrizeParam implements Serializable {
    /**
     * 奖品名称
     */
    @NotBlank(message = "奖品名称不能为空")
    @Schema(description = "奖品名称")
    private String prizeName;
    /**
     * 奖品描述
     */

    @Schema(description = "奖品描述")
    private String description;
    /**
     * 价格
     */
    @NotNull(message = "奖品价格不能为空")
    @Schema(description = "价格")
    private BigDecimal price;
}
